package com.wyp.design.principle.limiter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: yipeng.wang01@hand-china.com-25490
 * @TIME: 2019/12/25/15:51
 **/
public class ManageLeader {
    /**
     * 厘米特原则
     */
    public void getCountCourse() {
        ArrayList<Course> courses = new ArrayList<Course>();
        for (int i = 0; i < 20; i++) {
            courses.add(new Course());
        }
        System.out.println(courses.size());
    }
}
